﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ObviousCode.Common.Utils.Library.Dictionaries.Persistance;
using ObviousCode.UI.Aspect.PluginLibrary.Interfaces;

namespace ObviousCode.UI.Aspect.Persistence.AspectDesigner.Savers
{
    public abstract class DesignerSaver : Saver<IAspectDesigner>
    {
        protected abstract override void PerformSave(IAspectDesigner saveData);        
        protected override string Tag
        {
            get { return ObjectTag; }
        }

        public abstract override int Version { get; }
        public static DesignerSaver LatestVersion
        {
            get
            {
                return new DesignerSaver_V1();
            }
        }

        public static string ObjectTag
        {
            get
            {
                return "aspect-designer";
            }
        }
    }
}
